package com.springws.service;

import javax.jws.WebParam; 
import javax.jws.WebResult; 
import javax.jws.WebService;

import com.springws.bean.HelloBean; 

@WebService(serviceName="helloService",targetNamespace="http://impl.ws.com")  //接口和实现类都需要声明
public interface HelloService {
	@WebResult(name="out") //指定输出内容根节点的名称,默认为 return
	public String sayHello(@WebParam(name = "name",targetNamespace="http://impl.ws.com")String name);


	public HelloBean sayHelloBean(@WebParam(name = "name",targetNamespace="http://impl.ws.com")String name) ;
	
	public HelloBean sayHelloBean2(
			@WebParam(name = "id",targetNamespace="http://impl.ws.com")int id,	
			@WebParam(name = "name",targetNamespace="http://impl.ws.com")String name
			
			) ;
}
